The assessment of cognitive function